home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / netprog.zip / NETPROG.TAR / rpc.sun / timedate / date.x < prev    next >
Text File  |  1989-12-17  |  481b  |  17 lines

  1. /*
  2.  * date.x - Specification of remote date and time service.
  3.  */
  4.  
  5. /*
  6.  * Define 2 procedures:
  7.  *    bin_date_1() returns the binary time and date (no arguments).
  8.  *    str_date_1() takes a binary time and returns a human-readable string.
  9.  */
  10.  
  11. program DATE_PROG {
  12.     version DATE_VERS {
  13.     long    BIN_DATE(void) = 1;    /* procedure number = 1 */
  14.     string    STR_DATE(long) = 2;    /* procedure number = 2 */
  15.     } = 1;                /* version number = 1 */
  16. } = 0x31234567;                /* program number = 0x31234567 */
  17.